package com.zmyuan.demo.netty.thrift.service;

import com.zmyuan.demo.netty.thrift.HelloWorldService;
import org.apache.thrift.TException;

/**
 * Created by zdb on 2017/2/17.
 */
public class HelloWorldServiceImpl implements HelloWorldService.Iface {
    @Override
    public String sayHello(String username) throws TException {
        System.out.println("hello world," + username);
        return "ok";
    }
}
